let vm = null;

const sendThis = (_this) => {
  console.log(_this, 'this')
  vm = _this;
};
export default {
  sendThis,
  //查看分组人员
  Columns: [{
    title: '序号',
    key: 'name',
    minWidth: 60,
    align: 'center',
    render(h, params) {
      return h('div', params.row._index - 0 + 1)
    },
  },
  {
    title: '组别',
    key: 'groupName',
    minWidth: 60,
    align: 'center',
    render(h, params) {
      return h('div', params.row.groupName ? params.row.groupName : '-')
    },
  },
  {
    title: '是否组长',
    key: 'groupLeader',
    minWidth: 80,
    align: 'center',
    render(h, params) {
      return h('div', params.row.groupLeader == 1 ? '是' : '否')
    },
  },
  {
    title: '生效日期',
    key: 'inGroupDate',
    minWidth: 120,
    align: 'center',
    slot: 'inGroupDate'
  },
  {
    title: '操作',
    minWidth: 120,
    align: 'center',
    slot: 'operate',
  }, ],
}